"use strict"

import request from "@/utils/request"

// 新增设备品牌
export function addDeviceBrand(data){
    return request({
        url:"/business/deviceBrand",
        method:"post",
        data:data
    })
}

// 修改品牌管理
export function updateDeviceBrand(data){
    return request({
        url:"/business/deviceBrand",
        method:"put",
        data:data
    })
}

// 删除品牌管理
export function delDeviceBrand(query){
    return request({
        url:"/business/deviceBrand",
        method:"delete",
        data: query
    })
}

// 获取设备品牌管理详细信息
export function getDeviceBrand(id){
    return request({
        url:"/business/deviceBrand/"+id,
        method:"get"
    })
}

// 查询设备品牌管理列表
export function getDeviceBrandList(query){
    return request({
        url:"/business/deviceBrand/list",
        method:"get",
        params:query
    })
}